<?php
session_start();
error_reporting(E_ERROR | E_WARNING | E_PARSE);
include 'includes/header.php';
my_header('Казина :: Jwakk');
?>

        <div class="line"></div>
        <div class="mainConteiner">

            <?php include 'includes'.DIRECTORY_SEPARATOR.'top.php'; ?>
            <div class="topDelimiter"></div>

            <div class="content">

                <table cellspacing="0" cellpadding="0" width="100%"><tr>

                       <td class="Mainmenu" valign="top">
                            <a href="index.php"><div class="manuB">Казина</div></a>
                            <a href="buyCasino.php"><div class="manuB">Купи казино</div></a>
                            <a href="yoursC.php"><div class="manuB">Твои казина</div></a>
                            <a href="fight.php"><div class="manuB">Сбий се</div></a>
                            <a href="work.php"><div class="manuOnB">Работа</div></a>
                            <a href="zalozi.php"><div class="manuB">Залози</div></a>
                            <a href="coffee.php"><div class="manuB">Градът</div></a>
                            <a href="profile.php?user=<?php echo $_SESSION['user_info']['user']; ?>"><div class="manuB">Профил</div></a>
                            <?php
								$mes_q = mysql_query('SELECT id FROM message WHERE `do`="'.$_SESSION['user_info']['user'].'" AND `read`="0"');
								$mes_n = mysql_num_rows($mes_q);
								echo '<a href="mail.php"><div class="manuB">Съобщения ['.$mes_n.']</div></a>';
							?>
                            <a href="index.php?logout"><div class="manuBLogOut">Изход</div></a>

                            <br/>
                            <a href="#"><img alt="Последвайте Jwakk в Facebook" src="img/facebook.png" /></a>
                            <a href="#"><img alt="Последвайте Jwakk в Twitter" src="img/twitter.png" /></a>
                            <a href="#"><img alt="Абонирайте се за RSS емисии" src="img/rss.png" /></a>
                        </td>

                        <td valign="top">
                            <div class="gameBorder">
                             
							 
							 					<div class="TheGame">
					<div class="gameTitle">Работа</div>	
					
					
					<table class="profTable" cellspacing="0" cellpadding="0"border="0"><tr valign="top">
					
						<td><img src="img/tren.png" alt="Jwakk :: работа"/></td>
					
					<td class="tren">
						<h4>Започни работа</h4>
						<small>Времетраене 30 минути.<br/>
						Получаваш:</small>
						<ul type="square" class="trnUl">
							<li> <span>100 долара</span> </li>
						</ul><small>Разходи:</small>
						<ul type="square" class="trnUl">
							<li> <span>10 енергия</span> </li>
						</ul>
						
					</td>
					
					</tr></table>
					
					<div class="remain"><div class="load"> <div class="pe6o"></div> </div>
					<span class="loadText"></span></div>
					
					<br/><br/><div class="start"><a class="but" href="javascript:training()" >Започни</a></div><br/><br/>
					
					</div>
                            </div>

                            <div class="help"> <a href="#">Помощ</a> | <a href="#">FAQ</a> | <a href="#">Условия</a> | <a href="#">Facebook</a></div>
                        </td>

                    </tr></table>


                <?php footer(); ?>
            </div>
        </div>

        <div class="bottom"></div>

    </body>
</html>